<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="struts-tags.tld" %>
<%@ taglib uri="/WEB-INF/tld/tiles-jsp.tld" prefix="tiles" %>


<table class="ui-widget ui-widget-content" width="100%" id="proTable" height="100%" align="center" border="1">
    <tr class="ui-widget-header " >
        <td width="100px" >名称</td>
        <td width="100px">价格</td>
        <td >描述</td>
        <%--<td width="50px">分享者</td>--%>

    </tr>
    <s:iterator value="productDetails">
        <tr>
            <td ><s:property value="product.name"/></td>
            <td ><s:property value="price"/></td>
            <td ><s:property value="description"/></td>
            <%--<td style="white-space:nowrap"><s:property value="creator.nickName"/></td>--%>
        </tr>
    </s:iterator>


</table>

<div class="pagination" style="padding-top:0px;">
    <tiles:insertTemplate template="../pagination.jsp">
        <tiles:putAttribute name="pagination" value="${pagination}"/>
    </tiles:insertTemplate>
</div>
<%--<script type="text/javascript">--%>
    <%--alert(parent.document.getElementById('proIframe').offsetWidth);--%>
    <%--alert(parent.document.getElementById('proIframe').width);--%>
    <%--document.getElementById("proTable").width = parent.document.getElementById('proIframe').offsetWidth;--%>
    <%--document.getElementById("proTable").height = parent.document.getElementById('proIframe').offsetHeight;--%>
<%--</script>--%>

